package com.example.demo.designpattern设计模式.behavioral行为型.chainofresponsibility责任链模式.二次手撕;

public class Application {

    public static void main(String[] args) {
        HanderChain chain = new HanderChain();
        chain.addHandler(new HandlerA());
        chain.addHandler(new HandlerB());
        chain.handle();
    }

}
